package com.baizhi.service;

import com.baizhi.entity.Comment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangsan
 * @since 2022-06-28
 */
public interface ICommentService extends IService<Comment> {
    IPage<Comment> selectCommentByPage(int pageNo, int pageSize, int schoolId);

    void giveLikes(int commentId);
}
